<template>
	<view style="padding: 20rpx 20rpx;">
		<view class="u-content">
			<u-parse :content="content"></u-parse>
		</view>
	</view>
</template>


<script>
	const train = require("@/api/train/index.js");
	export default {
		data() {
			return {
				content: ``,
				venue_id:''
			}
		},
		onLoad(options) {
			console.log(options)
			this.venue_id = options.venue_id
			this.AoutUs_s()
		},
		methods: {
			// 获取课节
			async AoutUs_s() {
				let postData = {
					venue_id: this.venue_id,
					app_id: this.$https.weixinAppId,
					project_id: getApp().globalData.projectId,
				}
				let res = await train.venue_info(postData)
				if (res.code === 1) {
					console.log(res.data.info.venue_intro, '34e5')
					this.content = res.data.info.venue_intro

				}
			}
		}
	}
</script>

<style lang="scss" scoped>
	.u-content {
		padding: 24rpx;
	}
</style>
